package com.assignwork.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * @ClassName WorkArrangeShipUnderMachine
 * @Description 航运配工下仓机械
 * @Author dujianyu
 * @Date 2023/12/22 12:22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "航运配工下仓机械", description = "")
@TableName("work_arrange_ship_under_machine")
public class WorkArrangeShipUnderMachine extends TenantEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "作业舱信息ID")
    private Long cabinInfoId;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "配工ID")
    private Long arrangeId;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "作业线ID")
    private Long assemblyLineId;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "昼夜计划ID")
    private Long planId;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "作业队")
    private Long machineCorp;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "机械类型")
    private String machineKind;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "备注")
    private String remark;

}
